# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Alexander F Rødseth <xyproto@archlinux.org>
# Contributor: Kevin Piche <kevin@archlinux.org>
# Contributor: K. Piche <kpiche@rogers.com>

pkgname=avfs
pkgver=1.1.5
pkgrel=1
pkgdesc='Virtual filesystem that allows browsing compressed files'
arch=('loong64' 'x86_64')
license=('GPL' 'LGPL')
url='http://avf.sourceforge.net/'
depends=('fuse2' 'lzlib' 'perl' 'xz' 'zstd')
options=('!emptydirs')
source=("https://downloads.sourceforge.net/sourceforge/avf/$pkgname-$pkgver.tar.bz2")
sha512sums=('03e9abbda17d7976f9c6e4f8a426ff0b85f626ba2942cb2ec17aff3239476d6de385d7d709d7f0b23e31fbde5bcf131e512d38354f78f7fdc04d4b6d0d593e1b')

build() {
  cd $pkgname-$pkgver

  ./configure --prefix=/usr --enable-library --enable-fuse --disable-static
  make
}

package() {
  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et:
